package com.zzedu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzedu.common.annotation.Excel;
import com.zzedu.domain.ZzCourse;

import java.time.LocalDate;
import java.util.List;

public class ZzClassesVO {
    /**
     * id
     */
    private Long id;

    /**
     * 班级名称
     */
    @Excel(name = "班级名称")
    private String name;

    /**
     * 校区ID
     */
    private Long schoolId;

    @Excel(name = "校区")
    private String schoolName;
    /**
     * 开班日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDate startDate;

    /**
     * 结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDate endDate;

    /**
     * 正常
     */
    @Excel(name = "正常", dictType = "common_state")
    private Integer state;

    /**
     * 学生数
     */
    private Long stuCount;
    /**
     * 日期范围
     */
    private List<LocalDate> startDateAndEndDate;

    /**
     * 课程包名称
     */
    private String courseName;

    /**
     * 课程包ID
     */
    private Long courseId;

    /**
     * 级别
     */
    private String level;

    /**
     * 老师名称
     */
    private String teacherName;

    /**
     * 教室名称
     */
    private String roomName;

    /**
     * 教师ID
     */
    private Long teacherId;

    /**
     * 上课时间描述
     */
    private String openClassTimeInfo;

    /**
     * 课表类型
     */
    private Integer timetableType;
    /**
     * 开课日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate openDate;

    /**
     * UNIT集合
     */
    private List<Long> courseIdArray;

    private Integer clzzType;


    /**
     * 上课频率 clzz_type=1 有值
     */
    private Integer frequency;

    private List<ZzCourse> courseArray;


    /**
     * 任课老师
     */
    private String remarkTeachName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getStuCount() {
        return stuCount;
    }

    public void setStuCount(Long stuCount) {
        this.stuCount = stuCount;
    }

    public List<LocalDate> getStartDateAndEndDate() {
        return startDateAndEndDate;
    }

    public void setStartDateAndEndDate(List<LocalDate> startDateAndEndDate) {
        this.startDateAndEndDate = startDateAndEndDate;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getOpenClassTimeInfo() {
        return openClassTimeInfo;
    }

    public Integer getTimetableType() {
        return timetableType;
    }

    public void setTimetableType(Integer timetableType) {
        this.timetableType = timetableType;
    }

    public LocalDate getOpenDate() {
        return openDate;
    }

    public void setOpenDate(LocalDate openDate) {
        this.openDate = openDate;
    }

    public void setOpenClassTimeInfo(String openClassTimeInfo) {
        this.openClassTimeInfo = openClassTimeInfo;
    }

    public List<Long> getCourseIdArray() {
        return courseIdArray;
    }

    public void setCourseIdArray(List<Long> courseIdArray) {
        this.courseIdArray = courseIdArray;
    }

    public Integer getClzzType() {
        return clzzType;
    }

    public void setClzzType(Integer clzzType) {
        this.clzzType = clzzType;
    }

    public Integer getFrequency() {
        return frequency;
    }

    public void setFrequency(Integer frequency) {
        this.frequency = frequency;
    }

    public List<ZzCourse> getCourseArray() {
        return courseArray;
    }

    public void setCourseArray(List<ZzCourse> courseArray) {
        this.courseArray = courseArray;
    }

    public String getRemarkTeachName() {
        return remarkTeachName;
    }

    public void setRemarkTeachName(String remarkTeachName) {
        this.remarkTeachName = remarkTeachName;
    }
}
